package com.tingyuge.base.arithmetic.luc_ture;

/**
 * Created by xiaodao
 * date: 2020/4/26
 */
public class StringRevers {

    public static void main(String[] args) {
        String str = "abcd";
        char[] chars = str.toCharArray();
        String str1 = "";
        for (int i = chars.length-1; i>=0; i--) {
            str1 +=chars[i];

        }
        System.out.println(str1);
        System.out.println(-4>>1);
        int a =4;
        System.out.println(a +=1);

    }
}
